package org.xlh.springboot;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

@MapperScan(basePackages = "org.xlh.springboot.repository")
@SpringBootApplication
public class Springboot324TxApplication extends SpringBootServletInitializer {

	@Override
	protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
		return application.sources(Springboot324TxApplication.class);
	}

	public static void main(String[] args) {
		SpringApplication.run(Springboot324TxApplication.class, args);
	}

}
